package cn.itcast.service;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

//用于启动companyService
public class Demo {
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext c = new ClassPathXmlApplicationContext("classpath*:spring/applicationContext-*.xml");
        c.start();
        System.in.read();
    }
}
